package com.wsl.Service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author:WangShuliang
 * @Description:
 * @Date:Created in 11:33 2017/10/20
 * @Modified by:
 */
@FeignClient(value = "eureka-wsl")
public interface Controller {
    @RequestMapping(method = RequestMethod.POST,path = "/wang")
    String service();
    @RequestMapping(method = RequestMethod.POST,path = "/shu")
    String wang();
}